package com.zhuiyun.project.api.tag.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName Tag
 * @Description TODO
 * @Author XMY
 * @Date 2023/12/12 14:56
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table(name = "tag")
public class Tag {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /**
     * 标签名称
     */
    private String tagName;
}
